搜狗已为您找到约1,512,411条相关结果
手机号码归属地查询 - 一刀工具_知乎
手机号码归属地查询 代码片段 //获取手机信息 //https://tcc.taobao.com/cc/json/mobile_tel_segment.htm?tel=13788581069 static function getMobile($mobile) { try { $phone = new PhoneHelper(); $res = $phone->setPhone($mobile)->getRegion(); return [ "手机号" => $mobile, "号码段" => substr($mobile,0,7), "归属地" => $res["province"].$res["city"], "运营商" => "中国".$res["sp"], "区号" => $res["tel_prefix"], "邮编" => $res["post_code"] ]; } catch (\Exception $e) { return []; } }
知乎 - zhuanlan.zhihu.com/p...- 2022-7-19